import 'package:flutter_smart_heating/pages/404.dart';
import 'package:flutter_smart_heating/pages/basic/company/company.dart';
import 'package:flutter_smart_heating/pages/basic/company/detail.dart';
import 'package:flutter_smart_heating/pages/basic/estate/detail.dart';
import 'package:flutter_smart_heating/pages/basic/estate/estate.dart';
import 'package:flutter_smart_heating/pages/basic/pipe/pipe.dart';
import 'package:flutter_smart_heating/pages/basic/station/detail.dart';
import 'package:flutter_smart_heating/pages/basic/station/station.dart';
import 'package:flutter_smart_heating/pages/user/broadcast/detail/view.dart';
import 'package:flutter_smart_heating/pages/user/broadcast/view.dart';
import 'package:flutter_smart_heating/pages/browser/browser.dart';
import 'package:flutter_smart_heating/pages/fragment.dart';
import 'package:flutter_smart_heating/pages/information/indoor/temperature/temperature.dart';
import 'package:flutter_smart_heating/pages/information/station/actual.dart';
import 'package:flutter_smart_heating/pages/information/station/temper_rank.dart';
import 'package:flutter_smart_heating/pages/information/weather/weather.dart';
import 'package:flutter_smart_heating/pages/plugins/feedback/view.dart';
import 'package:flutter_smart_heating/pages/plugins/qrcode/qrcode.dart';
import 'package:flutter_smart_heating/pages/plugins/video/monitor/device.dart';
import 'package:flutter_smart_heating/pages/plugins/video/monitor/play.dart';
import 'package:flutter_smart_heating/pages/search/view.dart';
import 'package:flutter_smart_heating/pages/splash.dart';
import 'package:flutter_smart_heating/pages/plugins/authorized/login.dart';
import 'package:flutter_smart_heating/pages/user/login/login.dart';
import 'package:flutter_smart_heating/pages/user/messager/chatting.dart';
import 'package:flutter_smart_heating/pages/user/messager/messager.dart';
import 'package:flutter_smart_heating/pages/user/profile.dart';
import 'package:flutter_smart_heating/pages/user/support/detail/view.dart';
import 'package:flutter_smart_heating/pages/user/support/view.dart';
import 'package:flutter_smart_heating/pages/user/setting/about.dart';
import 'package:flutter_smart_heating/pages/user/setting/setting.dart';
import 'package:flutter_smart_heating/pages/user/setting/theme.dart';
import 'package:get/get.dart';

abstract class AppPages {
  static List<GetPage<dynamic>>? pages = [
    GetPage(
      name: '/splash',
      transition: Transition.noTransition,
      page: () => const SplashPage(),
    ),
    GetPage(
      name: '/login',
      transition: Transition.noTransition,
      page: () => const LoginPage(),
    ),
    GetPage(
      participatesInRootNavigator: true,
      preventDuplicates: true,
      transitionDuration: const Duration(microseconds: 10),
      name: '/',
      page: () => const FragmentView(),
    ),
    GetPage(
      name: '/404',
      page: () => const NotFoundPage(),
    ),
    GetPage(
      name: '/browser',
      page: () => const BrowserPage(),
    ),
    GetPage(
      name: '/setting',
      page: () => const SettingPage(),
    ),
    GetPage(
      name: '/setting/theme',
      page: () => const SettingThemePage(),
    ),
    GetPage(
      name: '/setting/about',
      page: () => const SettingAboutPage(),
    ),
    GetPage(
      name: '/authorized/login',
      page: () => const AuthorizedLoginPage(),
    ),
    GetPage(
      name: '/qrcode',
      fullscreenDialog: true,
      page: () => const QrcodePage(),
    ),
    GetPage(
      name: '/search',
      fullscreenDialog: true,
      page: () => SearchPage(),
    ),
    GetPage(
      name: '/feedback',
      page: () => FeedbackPage(),
    ),
    GetPage(
      name: '/support',
      page: () => SupportPage(),
    ),
    GetPage(
      name: '/support/detail',
      page: () => SupportDetailPage(),
    ),
    GetPage(
      name: '/broadcast',
      page: () => BroadcastPage(),
    ),
    GetPage(
      name: '/messager',
      page: () => const UserMessagerPage(),
    ),
    GetPage(
      name: '/messager/chatting',
      page: () => const UserMessagerChattingPage(),
    ),
    GetPage(
      name: '/user/profile',
      page: () => const UserProfilePage(),
    ),
    GetPage(
      name: '/broadcast/detail',
      page: () => BroadcastDetailPage(),
    ),
    GetPage(
      name: '/basic/company',
      page: () => const BasicCompanyPage(),
    ),
    GetPage(
      name: '/basic/company/detail',
      page: () => const BasicCompanyDetailPage(),
    ),
    GetPage(
      name: '/basic/station',
      page: () => const BasicStationPage(),
    ),
    GetPage(
      name: '/basic/station/detail',
      page: () => const BasicStationDetailPage(),
    ),
    GetPage(
      name: '/basic/estate',
      page: () => const BasicEstatePage(),
    ),
    GetPage(
      name: '/basic/estate/detail',
      page: () => const BasicEstateDetailPage(),
    ),
    GetPage(
      name: '/basic/pipe',
      page: () => const BasicPipePage(),
    ),
    GetPage(
      name: '/information/station/temper_rank',
      page: () => const InformationStationTemperRank(),
    ),
    GetPage(
      name: '/information/station/actual',
      page: () => const InformationStationActualPage(),
    ),
    GetPage(
      name: '/information/weather',
      page: () => const InformationWeatherPage(),
    ),
    GetPage(
      name: '/information/indoor/temperature',
      page: () => const InformationIndoorTemperaturePage(),
    ),
    GetPage(
      name: '/video/monitor/device',
      page: () => const VideoMonitorDevicePage(),
    ),
    GetPage(
      name: '/video/monitor/play',
      page: () => const VideoMonitorPlayPage(),
    ),
  ];
}
